All Questions
88 questions
1vote
2answers
198views
Is installing openjdk-21-jdk on Debian 12 from jdk.java.net .deb safe, if its openjdk-21 package looks not working on Debian tracker?
Because Java 25 LTS is coming soon (September 2025) and I've not even yet installed Java JDK 21 LTS (September 2023), I've attempted to do so with a sudo apt install openjdk-21-jdk on my Debian 12. ...
0votes
2answers
305views
Removing Gradle with all dependencies
I have installed Gradle via Synaptic Package Manager. During the installation process, two auxiliary packages were installed, plus a large amount of different dependencies, and the process was quite ...
0votes
1answer
51views
How to replace stock java with downloaded binary?
In Debian Stable the latest openjdk version available is 17. $ which -a java /usr/bin/java /bin/java $ java --version openjdk 17.0.8 2023-07-18 OpenJDK Runtime Environment (build 17.0.8+7-Debian-...
13votes
4answers
35kviews
How can I install Java 8 on Debian 12 (bookworm)?
Under Debian 11, we typically use OpenJDK from adoptopenjdk.net. This organization will no longer provide new releases: https://adoptopenjdk.jfrog.io/ui/native/deb/dists/ Is there a way to install ...
1vote
0answers
412views
How to package a Maven Java application for Debian?
I am trying to package a Java application that is built with Maven. I created the debian/ folder with mh_make and I have been reading/watching the tutorials: https://wiki.debian.org/Java/Packaging/...
14votes
3answers
56kviews
How can I install Java 8 on Debian 11 (Bullseye)?
This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. ...
0votes
0answers
401views
Java Version Troubles on Raspbian (Raspberry Pi)
I'd like to use signal-cli to send some signal messages from my Pi-based cat feeder. I believe I've followed the installation steps correctly. When I try to run the command, I get the error: Error: A ...
1vote
2answers
19kviews
Why is Debian unable to locate package openjdk-16-jre-headless?
I am using Debian 10.6. $ sudo apt install openjdk-16-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openjdk-...
2votes
2answers
3kviews
How to use javap on a jar file
I'm runnig debian buster and have a realy old java game that I played native with openjdk but I can not remember the exact version. So i tried to find out with javap with which java version the jar ...
0votes
1answer
130views
OpenJFX instead OpenJDK
System: Debian 11, 5.10.0-8-amd64 I have installed OpenJFX package in purpose to use it instead of OpenJDK. Typing "java --version": openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment (...
0votes
0answers
55views
Making web servlets on Debian 10 with Java EE
Doesn't seem like Java EE exists in the repository. It's non-free right...? Well I found a download link on oracle's website but it's 135MB and I'm on a slow connection now and I don't think I need ...
1vote
1answer
2kviews
Minecraft Server not stopping JVM on crash or stop
I'm facing the following problem: A Minecraft Forge Modded Server 1.15.2 is running on my Debian 10 VM that is running OpenJDK JAVA 1.8.0_275-8u275-b01-1-b01. Due to the instability of the Modpack, ...
3votes
1answer
3kviews
Force use Swap over Memory
I have a Debian server that I'm really cheaping out on, but for some reason the Java processes use all the memory then throw a "OutOfMemoryError" rather than using the swap space. I've got ...
3votes
1answer
11kviews
libjli.so not found. How can I install java without root access?
I would like to run java on a simple web hosting server to which I have ssh access but no root privilege. I have downloaded and unpacked the jdk linux/x64 tarball but running the java binary then ...
1vote
1answer
304views
Set minimal JRE version to deb package dependency
I want to bundle Java application into a .deb package. Inside it is a jar launched with a java -jar $path/app.jar script. I need to specify in the package dependencies that it will require JRE >= 11. ...